let marbleRaceLevelR = {
	name: 'Rest Level',
	id: 'R',
	type: 'rest',
	title:'中场休息',
	restTime:3,
	objects: [
		// Portals
		{
			type: 'object',
			shape: 'circle',
			color: '@a',
			portalID: 'a',
			x: 400,
			y: 80,
			radius: 5
		},

		// Goal portal
		{
			type: 'object',
			shape: 'circle',
			color: '@goal',
			portalID: 'goal',
			x: 400,
			y: 800,
			radius: 5
		},

		// Borders
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 0,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 600,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 0,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 800,
			y: 300,
			width: 160,
			height: 600
		},

		// Marbles
		{
			type: 'marbles',
			x: 400,
			y: 80,
			passX: 400,
			passY: 80,
			radius: 8,
			eliminatedRadius: 6,
			velocity: 5
		},
	]
}
marbleRaceLevels.push(marbleRaceLevelR)